on:
  pull_request_target:
    types:
      - opened
      - edited
      - synchronize

name: lint-pr
permissions:
  pull-requests: read

jobs:
  main:
    name: validate pr title
    runs-on: ubuntu-latest
    steps:
      - uses: amannn/action-semantic-pull-request@v5
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
